﻿using B.S.Base.ErrorCode;
using MediatR;

namespace B.S.Base.Write.Api.Application.Command.Products
{
    public class AddProductCommand:IRequest<APIResult<object>>
    {
        public int ProductId { get; set; }
        /// <summary>
        /// 商品信息表id
        /// </summary>
        public int ShopId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string LotNumber { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ProductDay { get; set; }
        /// <summary>
        /// 生产许可号
        /// </summary>
        public string ProductNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductEnterprise { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string ProductPicture { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public string ProductGress { get; set; }
        /// <summary>
        /// 逻辑删除 
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatePeople { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime createTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdatePeople { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime updateTime { get; set; }
    }
}
